{% extends "master.html" %}
{% block content %}
<h2>Create an exam</h2>
<form method="post" action="/create/">
    <label>Exam name:</label><br />
    <input type="text" name="name" /><br />
    <label>Deadline:</label><br />
    <input type="text" id="datepicker" name="deadline">
    <div>&nbsp;</div>
    <blockquote>
        <a href="" onclick="addQuestion(this); return false"><b>Add question</b></a>
        <br /><br />
        <div class="question"></div>
    </blockquote>
    <input type="submit" value="Submit" />
    <input type="hidden" name="next" value="{{ next }}" />
</form>

{% endblock %}